package io.lkt.modules.sys.dao;

import io.lkt.modules.sys.entity.BUserShieldEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 用户(换成我的)屏蔽表
 * 
 * @author xss
 * @email dustwas@163.com
 * @date 2021-09-01 16:00:04
 */
@Mapper
public interface BUserShieldDao extends BaseMapper<BUserShieldEntity> {

    BUserShieldEntity getByUserId(@Param("userId") Integer userId);

    int deleteByUserId(@Param("userId") Integer userId);

    List<BUserShieldEntity> getList(Map<String, Object> params);

    Integer getListTotal(Map<String, Object> params);
}
